<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
table, td, th{	border:0px solid black; }
th{	background-color:skyblue; color:white; font-size:14px; }
td{	background-color:gainsboro ;font-size:13px; text-align:center;}
</style>
</head>
<body>
<table border="1">
	<tr>
		<th>날 짜</th>
		<th>제 1 공정<br>실패율</th><th>제 2 공정<br>실패율</th><th>제 3 공정<br>실패율</th>
		<th>작업 시작 일</th><th>작업 종료 일</th>
		<th>총 생산량</th><th>총 실패율</th>
		<th>제 1공정 운행수</th><th>제 2공정 운행수</th><th>제 3공정 운행수</th>
		<th>당일 총 생산 lot갯수</th>
	</tr>
	<c:forEach items="${requestScope.historyInfo}" var="history">
		<tr>
			<td>${history.his_date}</td>
			<td>${history.his_day_op1_fail}</td><td>${history.his_day_op2_fail}</td><td>${history.his_day_op3_fail}</td>
			<td>${history.his_start}</td><td>${history.his_end}</td>
			<td>${history.his_day_ok}</td><td>${history.his_day_fail}</td>
			<td>${history.his_op1_hp}</td><td>${history.his_op2_hp}</td><td>${history.his_op3_hp}</td>
			<td>${history.his_lot_total}</td>
		</tr>
	</c:forEach>
</table>
</body>
</html>